﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace SimplexEngine
{
    public class Joint
    {

        public Joint Parent = null;
    }

    

    public class TranslationKeyFrame : AnimationKeyFrame
    {
        public Vector3 Translation;
    }

    public class RotationKeyFrame : AnimationKeyFrame
    {
        public Quaternion Rotation;
    }

    public class ScaleKeyFrame : AnimationKeyFrame
    {
        public Vector3 Scale;
    }

    public class BoundingBoxFrame : AnimationKeyFrame
    {
        public BoundingBox BoundingBox;
    }

    public class BoneAnimation : Animation
    {
        

        public override void UpdateMeshBuffer(float time, AnimationMeshInstance mesh_instance, ref Dictionary<String, MeshBuffer> mesh_buffers) 
        {
            AnimationMesh mesh = mesh_instance.MeshResource.GetObject<AnimationMesh>();
            if (mesh == null)
                return;

        }


        



    }
}
